package com.ygkj.common.distributionlock.zk;

import com.ygkj.common.distributionlock.lock.AbstractLock;
import org.I0Itec.zkclient.ZkClient;

public abstract class AbstractZookeeperLock extends AbstractLock {
    // zk连接地址
    private static final String CONNECTSTRING = "127.0.0.1:2181";
    // 创建zk连接
    protected ZkClient zkClient = new ZkClient(CONNECTSTRING);
    protected static final String PATH = "/lock";

    protected static final String PATH2 = "/lock2";
}